<?php
	//使用GD库画图
	//我需要一个画布
	//$huabu = imagecreate(400,400);
	//创建一个真色彩画布
	$huabu = imagecreatetruecolor(400,400);
	
	//设置一个颜色
	$red = imagecolorallocate($huabu,255,0,0);
	$white = imagecolorallocate($huabu,255,255,255);
	$c1 = imagecolorallocate($huabu,120,40,60);
	$c2 = imagecolorallocate($huabu,230,20,40);
	$c3 = imagecolorallocate($huabu,110,100,109);
	$c4 = imagecolorallocate($huabu,123,45,67);
	$c5 = imagecolorallocate($huabu,234,23,45);
	$c6 = imagecolorallocate($huabu,120,110,119);
	imagefill($huabu,1,1,$white);
	for($i =200; $i >180; $i--){
		imagefilledarc($huabu,180,$i,380,170,0,90,$c4,IMG_ARC_PIE);
		imagefilledarc($huabu,180,$i,380,170,90,120,$c5,IMG_ARC_PIE);
		imagefilledarc($huabu,180,$i,380,170,120,360,$c6,IMG_ARC_PIE);
	}
	
	imagefilledarc($huabu,180,$i,380,170,0,90,$c1,IMG_ARC_PIE);
		imagefilledarc($huabu,180,$i,380,170,90,120,$c2,IMG_ARC_PIE);
		imagefilledarc($huabu,180,$i,380,170,120,360,$c3,IMG_ARC_PIE);
	header("content-type:image/png");
	imagepng($huabu);
	imagedestroy($huabu);